XIQS Decode License

From IQsimWiki

Jump to: navigation, search

XIQS Decode License - License Management

Description
decodeXIQSLicense ( [Integer license_type], String license_code )
Decode a license. The type of license must be specified as parameter.
Note: since API version 1.5.0, the licence type became optional.
Parameters

[Integer license_type]

License type (15 - Master license, 16 - Partition license, 17 - SIM Manager license)

String license_code

License code
Return Values
Structure
If License type is Master License:

String license - License code
Integer isvalid - Flag which defines if license is valid
Integer serialvalid - Flag which defines if S/N is valid
Integer licensetype - Licence type
Long licenseid - License Id
Long customerid - Partition Id
Long dbserial - Database S/N
Long evaldate - Evaluation date after which the license will expire (in seconds since 01/01/1970)
Long softlevel - Software level
Integer slidenable - Flag which defines if SLID protocol is enabled
Long maxpartition - Maximal number of Partitions
Long maxsimmanager - Maximal number of IRON Sim Managers
Integer globalmax - ???
Long maxrack - Maximal number of IRON Sim Racks
Long maxgsmport - Maximal number of GSM ports
Long maxcallmanager - Maximal number of IRON Call Managers
Long maxicmcluster - Maximal number of IRON Call Manager Clusters
Long maxprofmanager - Maximal number of IRON Profile Managers
Long maxsimboard - Maximal number of SIM boards
Long maxsmssession - Maximal number of SMS sessions
Integer xiqsenable - Flag which defines if XIQS protocol is enabled
Integer flexenable - Flag which defines if FLEX protocol is enabled
Integer smsreplyenable - License allows replay on received SMS
Long checkserial - RESERVED FOR FUTURE USAGE

If License type is Partition License:

String license - License code
Integer is_valid - Flag which defines if license is valid
Integer serial_valid - Flag which defines if S/N is valid
Integer license_type - License type
Long id_license - License Id
Long db_serial - Database S/N
Long eval_date - Evaluation date after which the license will expire (in seconds since 01/01/1970)
Long soft_level - Software level
Integer slid_enable - Flag which defines if SLID protocol is enabled
Long max_rack - Maximal number of IRON SIM Racks
Long max_gsmport - Maximal number of GSM ports
Long max_callmanager - Maximal number of IRON Call Managers
Long max_icmcluster - Maximal number of IRON Call Managers clusters
Long max_profmanager - Maximal number of Profile Managers
Long max_simboard - Maximal number of SIM Boards
Long max_smssession - Maximal number of SMS sessions
Integer xiqs_enable - Flag which defines if XIQS protocol is enabled
Integer flex_enable - Flag which defines if FLEX protocol is enabled
Integer sms_replyenable - License allows replay on received SMS
Long check_serial - RESERVED FOR FUTURE USAGE

If License type is Sim Manager License:

String license - License code
Integer is_valid - Flag which defines if license is valid
Integer serial_valid - Flag which defines if S/N is valid
Integer license_type - License type
Long id_license - License Id
Long db_serial - Database S/N
Long eval_date - Evaluation date after which the license will expire (in seconds since 01/01/1970)
Long serial - IRON Sim Manager S/N

Error Data structure ( Error Management )

Possible failure code returns
*ERR_OBJ_NOT_FOUND (404) ERR_MSG_NO_DB
See Also

getXIQSLicenseList
getXIQSLicenseInfo
createXIQSLicense
updateXIQSLicense
deleteXIQSLicense
isXIQSGlobalLicense

Personal tools
Namespaces
Variants
Views
Actions
Navigation
XIQS XML Protocol
XIQS Framework Libraries
XIQS Command List